package 原型模式.extend_item;

import 原型模式.Shape;

public class Rectangle extends Shape {

   public Rectangle(){
      type = "Rectangle";
   }

   @Override
   public void draw() {
      System.out.println("Inside Rectangle::draw() method.");
   }
}
